import 'package:flutter/material.dart';

import 'package:flutter/material.dart';
import 'dart:ui';
class Nodata extends StatelessWidget {
  // String str;
  // Color color;
  // double fontSize;
  // double fontWeight;

  // Nodata(this.str, this.color, this.fontSize, this.fontWeight);

  @override
  Widget build(BuildContext context) {
    return new Center(
    child: new Column(
      mainAxisAlignment: MainAxisAlignment.center,
      crossAxisAlignment: CrossAxisAlignment.center,
      children: <Widget>[
        new Image.asset('resource/images/jiance/nodatas.png',width: 40,height: 40,),
        Text('暂无数据',style: TextStyle(fontSize:12),)
      ]
    ),
    );
  }
}